package hy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data//自动产生get,set,tostring,hashcode,equals
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)//让set方法返回this
public class Dept {
    Integer deptno;
    String dname;
    //用来指示，这个dept数据来自哪个数据库
    String db_source;
}
